package com.dht.xiao.jianye.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class OrderDaoBean {
    @Id
    private Long id;

    private String date;
    private String content;//保存的订单内容，转成了json
    private String totalMoney;//这一次订单的总金额
    private String phone;//用户手机号码
    private int report;//0未提交 1提交成功的
    @Generated(hash = 438335048)
    public OrderDaoBean(Long id, String date, String content, String totalMoney,
            String phone, int report) {
        this.id = id;
        this.date = date;
        this.content = content;
        this.totalMoney = totalMoney;
        this.phone = phone;
        this.report = report;
    }
    @Generated(hash = 1056408834)
    public OrderDaoBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getDate() {
        return this.date;
    }
    public void setDate(String date) {
        this.date = date;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getTotalMoney() {
        return this.totalMoney;
    }
    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney;
    }
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public int getReport() {
        return this.report;
    }
    public void setReport(int report) {
        this.report = report;
    }

    @Override
    public String toString() {
        return "OrderDaoBean{" +
                "id=" + id +
                ", date='" + date + '\'' +
                ", content='" + content + '\'' +
                ", totalMoney='" + totalMoney + '\'' +
                ", phone='" + phone + '\'' +
                ", report=" + report +
                '}';
    }
}
